export function dingSDK() {

	return new Promise(function(resolve, reject) {
		window.BMAPGL_84 = true;
		var script = document.createElement('script')
		script.type = 'text/javascript'
		script.src = 'https://g.alicdn.com/gdt/jsapi/1.4.3/index.js'
		script.onerror = reject
		document.head.appendChild(script)
		setTimeout(() => {
			resolve(dingSDK)
		}, 500)
	})
}